package com.simon.hse.activity.contractor;

import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.bigkoo.pickerview.builder.TimePickerBuilder;
import com.bigkoo.pickerview.listener.OnTimeSelectListener;
import com.bigkoo.pickerview.view.TimePickerView;
import com.bumptech.glide.Glide;
import com.donkingliang.imageselector.utils.ImageSelector;
import com.donkingliang.imageselector.utils.ImageSelectorUtils;
import com.google.gson.Gson;
import com.simon.hse.MyApplication;
import com.simon.hse.R;
import com.simon.hse.activity.BaseActivity;
import com.simon.hse.adapter.CommonAdapter;
import com.simon.hse.adapter.CommonEmptyAdapter;
import com.simon.hse.adapter.CommonViewHolder;
import com.simon.hse.http.CommonCallBack;
import com.simon.hse.http.Constants;
import com.simon.hse.http.HttpManager;
import com.simon.hse.http.entity.AddTrainRecordInput;
import com.simon.hse.http.entity.CommonOutput;
import com.simon.hse.http.entity.ContractorPersonOutput;
import com.simon.hse.http.entity.TrainCourseOutput;
import com.simon.hse.http.entity.TrainPersonOutput;
import com.simon.hse.http.entity.TrainRecordDetailOutput;
import com.simon.hse.http.entity.TrainRecordOutput;
import com.simon.hse.http.entity.UploadFileOutput;
import com.simon.hse.utils.DateTimeUtils;
import com.simon.hse.utils.PopupWindowUtils;
import com.simon.hse.utils.SelectPicUtils;
import com.simon.hse.utils.ToastUtils;

import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;

import java.io.File;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;

import okhttp3.MediaType;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

/**
 * 出入场工具管理
 */
@SuppressWarnings("all")
@ContentView(R.layout.activity_utils_details)
public class UtilsDetailsActivity extends BaseActivity {
    @ViewInject(R.id.tv_common_title)
    TextView mTv_common_title;

    @ViewInject(R.id.ll_chuchang_num)
    LinearLayout ll_chuchang_num;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mTv_common_title.setText("出入场工具管理");
    }

    @Event(value = {R.id.iv_common_left, R.id.ll_chuchang_num})
    private void clickButton(View view) {
        switch (view.getId()) {
            case R.id.iv_common_left:
                finish();
                break;
            case R.id.ll_chuchang_num:
                startActivity(new Intent(UtilsDetailsActivity.this,HeXiaoHistoryActivity.class));
                break;
        }
    }
}
